evtchn: alter the alloc/free xen event channel functions to take a domain
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Feb 2015 10:40:10 +0000 (11:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Feb 2015 10:40:10 +0000 (11:40 +0100)
commitc58ba78c84eecf4b7ed5e68d744c555112f8ad14
treef227346d0f3bcaee28be95364bca994989fc1d09
parent10dcec844fee36b97a72f85181341a080727e02b
evtchn: alter the alloc/free xen event channel functions to take a domain

The resource behind an event channel is domain centric rather than vcpu
centric.

This change allows mem_event_disable() to avoid arbitrarily referencing
d->vcpu[0] just to pass the domain.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
A few cosmetic adjustments.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/common/event_channel.c
xen/common/mem_event.c
xen/include/xen/event.h